package com.eascs.credit.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="o2o_credit_resolve")
public class CreditResolve {
	@Id
	@Column(name="id")
	private String id;
	@Column(name="loanapply_no")
	private String loanapplyNo;
	@Column(name="bill_code")
	private String billCode;
	@Column(name="status")
	private String status;
	@Column(name="age")
	private int age;//年纪
	@Column(name="sex")
	private String sex;//性别
	@Column(name="marital_status")
	private String maritalStatus;//婚姻情况
	@Column(name="education")
	private String  education;//学历
	@Column(name="work_num")
	private String workNum;//工作编号
	@Column(name="home_num")
	private String homeNum;//家庭编号
	@Column(name="url")
	private String url;
	@Column(name="loan_id")
	private String loanId;
	@Column(name="customer_name")
	private String customerName;
	@Column(name="ltd_name")
	private String ltdName;
	@Column(name="province_name")
	private String provinceName;
	@Column(name="parent_id")
	private String parentId;//父类
	@Column(name="contract_total")
	private Double contractTotal;//贷款合同总额
	@Column(name="payment_balance")
	private Double  paymentBalance;//贷款余额	
	@Column(name="contract_total_overdue")
	private Double  contractTotalOverdue;//贷款合同目前总逾期
	@Column(name="out_assure_balance")
	private Double  outAssureBalance;//对外担保余额、逾期
	@Column(name="out_assure_balance_overdue")
	private Double outAssureBalanceOverdue;//对外担保逾期
	@Column(name="bank_payment_balance")
	private Double  bankPaymentBalance;//银行机构贷款余额余额、逾期
	@Column(name="bank_balance_overdue")
	private Double bankBalanceOverdue;//银行机构逾期
	@Column(name="mortgage_house")
	private Integer  mortgageHouse;//按揭房产套数
	@Column(name="mortgage_house_balance")
	private Double  mortgageHouseBalance;//房产按揭贷款余额	
	@Column(name="avgmonth_repay_house")
	private Double  avgmonthRepayHouse;//月均还款额
	@Column(name="mortgage_car")
	private Integer mortgageCar;//按揭车辆数
	@Column(name="mortgage_car_balance")
	private Double  mortgageCarBalance;//车辆按揭贷款余额
	@Column(name="avgmonth_repay_car")
	private Double avgmonthRepayCar;//月均还款额
	@Column(name="credit_payment_balance")
	private Double creditPaymentBalance;//信用（含保证）贷款余额）
	@Column(name="pledge_payment_balance")
	private Double pledgePaymentBalance;//抵押贷款余额
	@Column(name="impawn_payment_balance")
	private Double impawnPaymentBalance;//质押贷款余额
	@Column(name="group_assure_balance")
	private Double groupAssureBalance;//组合担保贷款余额
	@Column(name="nonbank_payment_balance")
	private Double nonbankPaymentBalance;//非银行机构贷款余额（逾期）
	@Column(name="nonbank_balance_overdue")
	private Double nonbankBalanceOverdue;//非银行机构逾期
	@Column(name="credit_count")
	private Integer creditCount;//持有信用卡张数
	@Column(name="credit_balance")
	private Double creditBalance;//授信余总额
	@Column(name="avg_cardused_amt")
	private Double avgCardusedAmt;//信用卡最近6个月平均透支额度
	@Column(name="credit_limit_rate")
	private Double creditLimitRate;//信用卡透支（逾期）
	@Column(name="credit_limit_overdue")
	private Double creditLimitOverdue;//信用卡逾期
	@Column(name="out_assure_count")
	private Integer outAssureCount;//担保笔数
	@Column(name="assure_total")
	private Double assureTotal;//担保总额
	@Column(name="assure_balance")
	private Double assureBalance;//担保余额
	@Column(name="credit_search")
	private Integer creditSearch;//信用卡、贷款审批查询次数
	@Column(name="payment_status")
	private String paymentStatus;//贷款异常状态（Y：正常，N：异常）
	@Column(name="assure_status")
	private String assureStatus;//	对外担保异常状态（Y：正常，N：异常）
	@Column(name="credit_status")
	private String creditStatus;//信用卡异常状态（Y：正常，N：异常）
	@Column(name="court_enforcement_status")
	private String courtEnforcementStatus;//法院强制执行记录（Y：有，N：无）
	@Column(name="payment_overdue_status")
	private String paymentOverdueStatus;//贷款当前逾期（Y：是，N：否）
	@Column(name="credit_overdue_status")
	private String creditOverdueStatus;//	信用卡当前逾期（Y：是，N：否）
	@Column(name="payment_year_status")
	private String paymentYearStatus;//贷款24个月内出现“2”（即30天-59天的逾期 Y：是，N：否）
	@Column(name="creator")
	private String creator;//创建人
	@Column(name="create_time")
	private Date createTime;//创建时间
	@Column(name="updator")
	private String updator;//修改人
	@Column(name="update_time")
	private Date updateTime;//更新时间
	@Column(name="flag")
	private String flag;//是否保存实体（标记用于详情显示判断）
	@Column(name="remark")
	private String remark;//备注
	
	public CreditResolve() {
		super();
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLoanapplyNo() {
		return loanapplyNo;
	}
	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getLoanId() {
		return loanId;
	}
	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public Double getContractTotal() {
		return contractTotal;
	}
	public void setContractTotal(Double contractTotal) {
		this.contractTotal = contractTotal;
	}
	public Double getPaymentBalance() {
		return paymentBalance;
	}
	public void setPaymentBalance(Double paymentBalance) {
		this.paymentBalance = paymentBalance;
	}
	public Double getContractTotalOverdue() {
		return contractTotalOverdue;
	}
	public void setContractTotalOverdue(Double contractTotalOverdue) {
		this.contractTotalOverdue = contractTotalOverdue;
	}
	public Double getOutAssureBalance() {
		return outAssureBalance;
	}
	public void setOutAssureBalance(Double outAssureBalance) {
		this.outAssureBalance = outAssureBalance;
	}
	public Double getOutAssureBalanceOverdue() {
		return outAssureBalanceOverdue;
	}
	public void setOutAssureBalanceOverdue(Double outAssureBalanceOverdue) {
		this.outAssureBalanceOverdue = outAssureBalanceOverdue;
	}
	public Double getBankPaymentBalance() {
		return bankPaymentBalance;
	}
	public void setBankPaymentBalance(Double bankPaymentBalance) {
		this.bankPaymentBalance = bankPaymentBalance;
	}
	public Double getBankBalanceOverdue() {
		return bankBalanceOverdue;
	}
	public void setBankBalanceOverdue(Double bankBalanceOverdue) {
		this.bankBalanceOverdue = bankBalanceOverdue;
	}
	public Integer getMortgageHouse() {
		return mortgageHouse;
	}
	public void setMortgageHouse(Integer mortgageHouse) {
		this.mortgageHouse = mortgageHouse;
	}
	public Double getMortgageHouseBalance() {
		return mortgageHouseBalance;
	}
	public void setMortgageHouseBalance(Double mortgageHouseBalance) {
		this.mortgageHouseBalance = mortgageHouseBalance;
	}
	public Double getAvgmonthRepayHouse() {
		return avgmonthRepayHouse;
	}
	public void setAvgmonthRepayHouse(Double avgmonthRepayHouse) {
		this.avgmonthRepayHouse = avgmonthRepayHouse;
	}
	public Integer getMortgageCar() {
		return mortgageCar;
	}
	public void setMortgageCar(Integer mortgageCar) {
		this.mortgageCar = mortgageCar;
	}
	public Double getMortgageCarBalance() {
		return mortgageCarBalance;
	}
	public void setMortgageCarBalance(Double mortgageCarBalance) {
		this.mortgageCarBalance = mortgageCarBalance;
	}
	public Double getAvgmonthRepayCar() {
		return avgmonthRepayCar;
	}
	public void setAvgmonthRepayCar(Double avgmonthRepayCar) {
		this.avgmonthRepayCar = avgmonthRepayCar;
	}
	public Double getCreditPaymentBalance() {
		return creditPaymentBalance;
	}
	public void setCreditPaymentBalance(Double creditPaymentBalance) {
		this.creditPaymentBalance = creditPaymentBalance;
	}
	public Double getPledgePaymentBalance() {
		return pledgePaymentBalance;
	}
	public void setPledgePaymentBalance(Double pledgePaymentBalance) {
		this.pledgePaymentBalance = pledgePaymentBalance;
	}
	public Double getImpawnPaymentBalance() {
		return impawnPaymentBalance;
	}
	public void setImpawnPaymentBalance(Double impawnPaymentBalance) {
		this.impawnPaymentBalance = impawnPaymentBalance;
	}
	public Double getGroupAssureBalance() {
		return groupAssureBalance;
	}
	public void setGroupAssureBalance(Double groupAssureBalance) {
		this.groupAssureBalance = groupAssureBalance;
	}
	public Double getNonbankPaymentBalance() {
		return nonbankPaymentBalance;
	}
	public void setNonbankPaymentBalance(Double nonbankPaymentBalance) {
		this.nonbankPaymentBalance = nonbankPaymentBalance;
	}
	public Double getNonbankBalanceOverdue() {
		return nonbankBalanceOverdue;
	}
	public void setNonbankBalanceOverdue(Double nonbankBalanceOverdue) {
		this.nonbankBalanceOverdue = nonbankBalanceOverdue;
	}
	public Integer getCreditCount() {
		return creditCount;
	}
	public void setCreditCount(Integer creditCount) {
		this.creditCount = creditCount;
	}
	public Double getCreditBalance() {
		return creditBalance;
	}
	public void setCreditBalance(Double creditBalance) {
		this.creditBalance = creditBalance;
	}
	public Double getAvgCardusedAmt() {
		return avgCardusedAmt;
	}
	public void setAvgCardusedAmt(Double avgCardusedAmt) {
		this.avgCardusedAmt = avgCardusedAmt;
	}
	public Double getCreditLimitRate() {
		return creditLimitRate;
	}
	public void setCreditLimitRate(Double creditLimitRate) {
		this.creditLimitRate = creditLimitRate;
	}
	public Double getCreditLimitOverdue() {
		return creditLimitOverdue;
	}
	public void setCreditLimitOverdue(Double creditLimitOverdue) {
		this.creditLimitOverdue = creditLimitOverdue;
	}
	public Integer getOutAssureCount() {
		return outAssureCount;
	}
	public void setOutAssureCount(Integer outAssureCount) {
		this.outAssureCount = outAssureCount;
	}
	public Double getAssureTotal() {
		return assureTotal;
	}
	public void setAssureTotal(Double assureTotal) {
		this.assureTotal = assureTotal;
	}
	public Double getAssureBalance() {
		return assureBalance;
	}
	public void setAssureBalance(Double assureBalance) {
		this.assureBalance = assureBalance;
	}
	public Integer getCreditSearch() {
		return creditSearch;
	}
	public void setCreditSearch(Integer creditSearch) {
		this.creditSearch = creditSearch;
	}
	public String getPaymentStatus() {
		return paymentStatus;
	}
	public void setPaymentStatus(String paymentStatus) {
		this.paymentStatus = paymentStatus;
	}
	public String getAssureStatus() {
		return assureStatus;
	}
	public void setAssureStatus(String assureStatus) {
		this.assureStatus = assureStatus;
	}
	public String getCreditStatus() {
		return creditStatus;
	}
	public void setCreditStatus(String creditStatus) {
		this.creditStatus = creditStatus;
	}
	public String getCourtEnforcementStatus() {
		return courtEnforcementStatus;
	}
	public void setCourtEnforcementStatus(String courtEnforcementStatus) {
		this.courtEnforcementStatus = courtEnforcementStatus;
	}
	public String getPaymentOverdueStatus() {
		return paymentOverdueStatus;
	}
	public void setPaymentOverdueStatus(String paymentOverdueStatus) {
		this.paymentOverdueStatus = paymentOverdueStatus;
	}
	public String getCreditOverdueStatus() {
		return creditOverdueStatus;
	}
	public void setCreditOverdueStatus(String creditOverdueStatus) {
		this.creditOverdueStatus = creditOverdueStatus;
	}
	public String getPaymentYearStatus() {
		return paymentYearStatus;
	}
	public void setPaymentYearStatus(String paymentYearStatus) {
		this.paymentYearStatus = paymentYearStatus;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdator() {
		return updator;
	}
	public void setUpdator(String updator) {
		this.updator = updator;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public String getLtdName() {
		return ltdName;
	}
	public void setLtdName(String ltdName) {
		this.ltdName = ltdName;
	}
	public String getProvinceName() {
		return provinceName;
	}
	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getWorkNum() {
		return workNum;
	}

	public void setWorkNum(String workNum) {
		this.workNum = workNum;
	}

	public String getHomeNum() {
		return homeNum;
	}

	public void setHomeNum(String homeNum) {
		this.homeNum = homeNum;
	}
	@Override
	public String toString() {
		return "CreditResolve [id=" + id + ", loanapplyNo=" + loanapplyNo + ", billCode=" + billCode + ", status=" + status + ", age=" + age + ", sex=" + sex + ", maritalStatus=" + maritalStatus + ", education=" + education + ", workNum=" + workNum + ", homeNum=" + homeNum + ", url=" + url
				+ ", loanId=" + loanId + ", customerName=" + customerName + ", ltdName=" + ltdName + ", provinceName=" + provinceName + ", parentId=" + parentId + ", contractTotal=" + contractTotal + ", paymentBalance=" + paymentBalance + ", contractTotalOverdue=" + contractTotalOverdue
				+ ", outAssureBalance=" + outAssureBalance + ", outAssureBalanceOverdue=" + outAssureBalanceOverdue + ", bankPaymentBalance=" + bankPaymentBalance + ", bankBalanceOverdue=" + bankBalanceOverdue + ", mortgageHouse=" + mortgageHouse + ", mortgageHouseBalance=" + mortgageHouseBalance
				+ ", avgmonthRepayHouse=" + avgmonthRepayHouse + ", mortgageCar=" + mortgageCar + ", mortgageCarBalance=" + mortgageCarBalance + ", avgmonthRepayCar=" + avgmonthRepayCar + ", creditPaymentBalance=" + creditPaymentBalance + ", pledgePaymentBalance=" + pledgePaymentBalance
				+ ", impawnPaymentBalance=" + impawnPaymentBalance + ", groupAssureBalance=" + groupAssureBalance + ", nonbankPaymentBalance=" + nonbankPaymentBalance + ", nonbankBalanceOverdue=" + nonbankBalanceOverdue + ", creditCount=" + creditCount + ", creditBalance=" + creditBalance
				+ ", avgCardusedAmt=" + avgCardusedAmt + ", creditLimitRate=" + creditLimitRate + ", creditLimitOverdue=" + creditLimitOverdue + ", outAssureCount=" + outAssureCount + ", assureTotal=" + assureTotal + ", assureBalance=" + assureBalance + ", creditSearch=" + creditSearch
				+ ", paymentStatus=" + paymentStatus + ", assureStatus=" + assureStatus + ", creditStatus=" + creditStatus + ", courtEnforcementStatus=" + courtEnforcementStatus + ", paymentOverdueStatus=" + paymentOverdueStatus + ", creditOverdueStatus=" + creditOverdueStatus
				+ ", paymentYearStatus=" + paymentYearStatus + ", creator=" + creator + ", createTime=" + createTime + ", updator=" + updator + ", updateTime=" + updateTime + ", flag=" + flag + ", remark=" + remark + "]";
	}
}
